var e = require;
var t = module;
var n = e("LevelManager");
e("KingController");
cc.Class({
    extends: cc.Component,
    properties: {},
    onBeginContact: function() {
        if (LevelManager.Instance.GameCurrentOperationMode == n.GameOperationMode.Defense) {
            LevelManager.Instance.onKingEnterKingStoryLobbyDoor();
            this.node.destroy()
        }
    }
})